#include "app_mqtt.h"

void msg_cb(char *data, int len)
{
    log_info("app_mqtt_msg_cb: %.*s", len, data);
}

int main(int argc, char const *argv[])
{
    app_mqtt_init(msg_cb);

    app_mqtt_send("hello", 5);
    sleep(3);
    app_mqtt_send("world", 5);
    sleep(1000000);
    return 0;
}
